package com.comac.print.component.app.gatewayimpl.database.dataobject;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 模板签名关联表
 * </p>
 *
 * @author yy
 * @since 2022-04-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sign_masterplate_relation")
public class SMRelationDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;
    /**
     * 模板id
     */
    @TableField("MP_ID")
    private Integer mpId;

    /**
     * 系统id
     */
    @TableField("ST_ID")
    private Integer stId;

    /**
     * 创建人
     */
    @TableField("CREATOR")
    private String creator;

    /**
     * 创建时间
     */
    @TableField("CREATE_TIME")
    private Date createTime;

    /**
     * 是否删除
     */
    @TableField(value = "DELETE_FLAG", fill = FieldFill.INSERT_UPDATE)
    private Boolean deleteFlag;




}
